﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="CheckandPackage.aspx.cs" Inherits="ProductPackage_CheckandPackage" Title="产品包装入库" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">

    <script type="text/javascript">
    <!--
        document.onkeydown = function() {
            if (event.keyCode == 13 && event.srcElement.type == "text") {
                event.keyCode = 9;
            }
        }
    //-->
    </script>

    <div>
        <br />
        <br />
        <br />
        <div style="text-align: center;">
            <div style="text-align: center;">
                <table style="width: 60%; border: solid 1px black; margin: 0 auto;">
                    <tr>
                        <td style="width: 40%;">
                            请扫描成品序列号：
                        </td>
                        <td style="width: 40%;">
                            <asp:TextBox ID="TextBox1" runat="server" TabIndex="1"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1"
                                ErrorMessage="*" ValidationGroup="VGroup1" Display="Dynamic"></asp:RequiredFieldValidator>
                        </td>
                        <td rowspan="2" style="width: 20%;">
                            <asp:Button ID="Button2" runat="server" OnClick="Button2_Click" TabIndex="5" Text="确  定"
                                ValidationGroup="VGroup1" />
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 40%;">
                            请扫描外箱序列号标签：
                        </td>
                        <td style="width: 40%;">
                            <asp:TextBox ID="TextBox2" runat="server" TabIndex="2"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBox2"
                                ErrorMessage="*" ValidationGroup="VGroup1" Display="Dynamic"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                </table>
                <asp:Panel ID="Panel3" runat="server">
                    <div style="text-align: center;">
                        <table style="width: 60%; border: solid 1px black; margin: 0 auto;">
                            <tr>
                                <td style="width: 40%;">
                                    请扫描外箱成品序列号：
                                </td>
                                <td style="width: 40%;">
                                    <asp:TextBox ID="TextBox3" runat="server" TabIndex="3"></asp:TextBox>
                                </td>
                                <td style="width: 20%;">
                                </td>
                            </tr>
                        </table>
                        <asp:Panel ID="Panel5" runat="server">
                            <table style="width: 60%; border: solid 1px black; margin: 0 auto;">
                                <tr>
                                    <td style="width: 40%;">
                                        请扫描2D条码
                                    </td>
                                    <td style="width: 40%;">
                                        <asp:TextBox ID="TextBox4" runat="server" TabIndex="4"></asp:TextBox>
                                    </td>
                                    <td style="width: 20%;">
                                    </td>
                                </tr>
                            </table>
                        </asp:Panel>
                        <asp:CollapsiblePanelExtender ID="Panel5_CollapsiblePanelExtender" runat="server"
                            Enabled="True" TargetControlID="Panel5" CollapsedSize="0" SuppressPostBack="true"
                            ExpandControlID="Panel4" ExpandDirection="Vertical" CollapseControlID="Panel4"
                            ScrollContents="false" TextLabelID="Label7" CollapsedText="Show Details..." ExpandedText="Hide Details">
                        </asp:CollapsiblePanelExtender>
                        <asp:Panel ID="Panel4" runat="server">
                            ---------------------阿朗产品包装时请隐藏2D条码的录入：--------------------<asp:Label ID="Label7"
                                runat="server" Text="Label"></asp:Label>------<asp:LinkButton ID="LinkButton2" runat="server">打开/折叠</asp:LinkButton></asp:Panel>
                    </div>
                </asp:Panel>
                <asp:CollapsiblePanelExtender ID="Panel3_CollapsiblePanelExtender" runat="server"
                    Enabled="True" TargetControlID="Panel3" CollapsedSize="0" SuppressPostBack="true"
                    ExpandControlID="Panel2" ExpandDirection="Vertical" CollapseControlID="Panel2"
                    ScrollContents="false" TextLabelID="Label6" CollapsedText="Show Details..." ExpandedText="Hide Details">
                </asp:CollapsiblePanelExtender>
                <asp:Panel ID="Panel2" runat="server">
                    ---------------------中兴产品包装时请隐藏外箱成品序列号的录入：--------------------<asp:Label ID="Label6"
                        runat="server" Text="Label"></asp:Label>------<asp:LinkButton ID="LinkButton1" runat="server">打开/折叠</asp:LinkButton>
                </asp:Panel>
            </div>
            <div style="height: 300px; width: 100%; text-align: center;">
                <br />
                <br />
                <div style="height: 200px; width: 500px; margin: 0 auto; border-color: Gray; border-width: 1px;
                    border-style: solid;">
                    <asp:Image ID="Image1" runat="server" Height="200px" Width="200px" ImageUrl="~/Images/ProductPackage/Pass.bmp"
                        Visible="False" />
                    <asp:Image ID="Image2" runat="server" Height="200px" Width="200px" ImageUrl="~/Images/ProductPackage/Fail.bmp"
                        Visible="False" />
                </div>
                <br />
                <br />
            </div>
            <asp:Label ID="Label8" runat="server" Visible="False"></asp:Label>
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
        </div>
    </div>
</asp:Content>
